home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- *
- * CustomGetFile Dialog Demo
- *
- * Custom.h
- *
- * Written in CodeWarrior Gold 5.5
- * August 31, 1995
- *
- * Copyright © 1995 Carl B. Constantine
- * Some portions Copyright © 1995 MetroWerks, Inc.
- * Some portions Copyright © 1995 Apple Computer, Inc.
- *
- **********************************************************************/
-
- /*------------------------------------------------------------------
- #
- # File History
- #
- # Date Description of Change
- # ---- ---------------------
- # Aug 31/93 — Original creation of file
- #
- -------------------------------------------------------------------*/
-
- /*===================== Defines & Structures =======================*/
-
- #define rGetVolumeDLOG 0 // Standard CustomGetDialog template
- #define kFolderBit 4 // Bit to Test
-
-
- // Just some dummy data structure. You can set up your own easily enough
- #pragma options align=mac68k
- typedef struct
- {
- short typeCode;
- } GetHookRec;
- #pragma options align=reset
-
-
- /*============================= Prototypes ==============================*/
-
- StandardFileReply DoGetVolume( void );
- static pascal Boolean MyCustomFileFilter( CInfoPBPtr pb, Ptr myDataPtr );
- static pascal short MyDlgHook( short item, DialogPtr theDialog, Ptr myDataPtr );
-
-
- /*============================= End of File ==============================*/